package com.fortune.dto.excution;

import com.fortune.base.BaseAPIExcution;
import com.fortune.enums.PRoleEnum;

public class PRoleExcution<T> extends BaseAPIExcution<T> {
    public PRoleExcution(T t, PRoleEnum pRoleEnum){
        this.data = t;
        this.status = pRoleEnum.isStatus();
        this.msg = pRoleEnum.getMsg();
    }
}
